

function showAvailabilityForDay( year, month, day){

	var startDay =   day;
	var startMonth = month;
	var startYear =  year;
	var startHour =  '00:00';

	var endDay = day + 1;
	var endMonth = month;
	var endYear = year
	var endHour = '00:00';	
	
	window.open('http://' + window.location.host + window.location.pathname + '?action=show_available&starttime=' + startYear+ '-' +startMonth+ '-' + startDay + '%20'+startHour+'&endtime='+endYear+'-'+endMonth+'-'+endDay+'%20'+endHour, 'showavailability','width=700,height=500,scrollbars=1');

}